import Vue from 'vue'
import App from './App.vue'

//引入router对象
import router from "./router";

//引入store
import store from '@/store/index'

//引入mock
import '@/mock/ServerMock'

import "@/main/components"

import "@/main/eventBus"

import "@/main/element"

import "@/main/validate"

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,
  store,
  // beforeCreate(){
  //   Vue.prototype.$bus = this
  // }
}).$mount('#app')




